/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package jfx_mobile_test_01;


import java.*;
import it.eonegroup.domain.nandi.*;

/**
 *
 * @author Mitch
 */
public class wsLoginClass {

    public void execLogin() {

            //Istanzio la classe del WS
            ZSNWMRFLOGIN service = new ZSNWMRFLOGIN();
            ZWSWMRFLOGIN port = service.getZBNWMRFLOGIN();

            // Valorizzazione parametri per WS call
            java.lang.String iUserid = "PALTRY";
            java.lang.String iPassword = "MARCO";

            java.lang.String iBadgnr = "";
            java.lang.String iEnableDebug = "";
            java.lang.String iLanguage = "I";
            java.lang.String iModuleArea = "";
            java.lang.String iProgname = "";
            java.lang.String iReceiverId = "";
            java.lang.String iSenderId = "";

            java.lang.String eErrorCode = "";
            java.lang.String eErrorDescription = "";
            Ze1StExtUser eExtUser = new Ze1StExtUser();
            java.lang.String eSuccess = "";
            
        try { // Call Web Service Operation
            port.ze1WlExecRfLogin(iBadgnr, iEnableDebug, iLanguage, iModuleArea, iPassword, iProgname, iReceiverId, iSenderId, iUserid, eErrorCode, eErrorDescription, eExtUser, eSuccess);
            System.out.println("SUCCESS = '"+eSuccess+"'  Descrizione = "+eErrorDescription);
        } catch (Exception ex) {
            // TODO handle custom exceptions here
            System.out.println("SUCCESS"+ex.toString());
            return;
        }

    }//method execLogin

}//class wsLoginClass
